package com.xintong.visualinspection.service.impl;

import java.util.List;

import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xintong.visualinspection.bean.TeamClass;
import com.xintong.visualinspection.dao.master.TeamClassDao;
import com.xintong.visualinspection.service.BaseService;
import com.xintong.visualinspection.service.TeamClassService;

/**
 * 文件名：UserServiceImpl
 * 版本信息：日期：2017/3/30 Copyright 江苏省交通规划设计院 Corporation 2017 版权所有.
 */
@Service
public class TeamClassServiceImpl extends BaseService implements TeamClassService {

    private static final org.slf4j.Logger logger = LoggerFactory.getLogger(TeamClassServiceImpl.class);


    @Autowired
    private TeamClassDao teamClassDao;


	@Override
	public List<TeamClass> getClassList(TeamClass teamClass) {
		// TODO Auto-generated method stub
		return teamClassDao.getClassList(teamClass);
	}


	@Override
	public TeamClass getById(Long id) {
		// TODO Auto-generated method stub
		return teamClassDao.getOne(id);
	}


	@Override
	public void insert(TeamClass teamClass) {
		// TODO Auto-generated method stub
		teamClassDao.insert(teamClass);
	}


	@Override
	public void update(TeamClass teamClass) {
		// TODO Auto-generated method stub
		teamClassDao.update(teamClass);
	}


	@Override
	public void delete(Long id) {
		// TODO Auto-generated method stub
		teamClassDao.delete(id);
	}

}
